import java.util.ArrayList;


public final class Query {
	String query;
	ArrayList<String> subQueries = new ArrayList<String>();
	ArrayList<String> results = new ArrayList<String>();
	
	Query()	{ }
	
	Query(String query)
	{
		this.query = query;
	}
	
	public void addQuery(String subquery)	
	{
		subQueries.add(subquery);
	}
	
	public void addResults(ArrayList<String> result)	
	{
		results.addAll(result);
	}
	
	public ArrayList<String> getSubqueries()
	{ return subQueries; }
	
	public ArrayList<String> getResults()
	{ return results; }
}
